# from flask_sqlalchemy import SQLAlchemy
#
# class User(db.Model):
#     __tablename__ = 'tb_user'  # 与你的表名一致
#     id = db.Column(db.Integer, primary_key=True)
#     username = db.Column(db.String(32))
#     password = db.Column(db.String(64))
#     nickname = db.Column(db.String(32))
#     real_name = db.Column(db.String(32))
#     sex = db.Column(db.Integer)
#
#     avatar = db.Column(db.String(1024))
#     status = db.Column(db.Integer)
#     delete_flag = db.Column(db.Integer)
